/*
 * @Author: WuFeng <763467339@qq.com>
 * @Date: 2024-07-10 14:58:54
 * @LastEditTime: 2024-07-11 17:46:07
 * @LastEditors: WuFeng <763467339@qq.com>
 * @Description: 
 * @FilePath: \chu-meng\client\src\utils\components.js
 * @Copyright 版权声明
 */

/**
 * 动态注册组件
 */
export const componentInstall = (key, node)  => {
  if(!window['$vue'].component(key) && node) {
    window['$vue'].component(key, node)
  }
  console.log(window['$vue'])
}